package cn.btks.resultintegration.rule.service;

import cn.btks.commonserver.result.ResultState;
import cn.btks.resultintegration.rule.pojo.AdmittanceValue;
import cn.btks.resultintegration.rule.pojo.SubstanceParam;

import java.util.List;

/**
 * @Author lijun
 * @Date 2021/10/15 15:13
 */
public interface AdmittanceValueService {

    /**
     * 根据ID查询
     * @param id
     * @return
     */
    AdmittanceValue findById(Long id);

    /**
     * 查询所有
     * @return
     */
    List<AdmittanceValue> findAll();

    /**
     * 新增
     * @param admittanceValue
     * @return
     */
    ResultState save(AdmittanceValue admittanceValue);

    /**
     * 修改
     * @param admittanceValue
     * @return
     */
    ResultState update(AdmittanceValue admittanceValue);

    /**
     * 删除
     * @param id
     * @return
     */
    ResultState delete(Long id);
}
